/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import javax.xml.bind.annotation.XmlAttribute;

/**
 * 字典Entity
 *
 * @author ThinkGem
 * @version 2013-05-15
 */
public class Car extends DataEntity<Car> {

    private static final long serialVersionUID = 1L;
    private String carId;	// id
    private String carNo;    //
    private String carType;    // 类型
    private String deleteTag;// 描述
    private Integer capacity;    //


    public Car() {
        super();
    }


    @XmlAttribute
    @Length(min = 1, max = 100)
    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    @XmlAttribute
    @Length(min = 1, max = 10)
    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    @XmlAttribute
    @Length(min = 1, max = 100)
    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    @XmlAttribute
    @Length(min = 1, max = 3)
    public String getDeleteTag() {
        return deleteTag;
    }

    public void setDeleteTag(String deleteTag) {
        this.deleteTag = deleteTag;
    }
}